//alert(this);
var request;
if (window.XMLHttpRequest){
    request = new window.XMLHttpRequest();
    request.open('GET', 'http://code.google.com/p/js-reqchecker/source/browse/index.html', false);
    request.send("");
    //if (request.status == 200){
    //alert(request.responseText);
    //}
    //else{
    alert("XML");
    //}
} else if (window.ActiveXObject){
    try{
	request = new window.ActiveXObject('Msxml2.XMLHTTP');
	alert("try");
    } catch (e){
	request = new window.ActiveXObject('Microsoft.XMLHTTP');
	alert("catch");
    }
} else {
    throw new Error('XMLHttpRequestがサポートされてません。');
}

